﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MessageSystem.Managed;
using MessageSystem.Managed.Infrastructure;

namespace MessageSystem.Managed.Rpc
{
    public interface IRpcRouter
    {
        // 注册服务
        void Register(int nSessionId, int nServiceId, RpcDomain domain);

        // 路由
        void Route(UInt16 nFlags, int nMessageId, int nSessionId, NetStream ns);
    }
}
